package com.suishoupai.xmb.service;

import com.suishoupai.xmb.dao.CutDeliveryDiscountMapper;
import com.suishoupai.xmb.entity.DeliveryDiscount;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by caojian on 2017/5/18.
 */
@Service
public class DeliveryDiscountService {
    @Autowired
    private CutDeliveryDiscountMapper cutDeliveryDiscountMapper;

    public List<DeliveryDiscount> getListBySaleId(long saleId) {
        return cutDeliveryDiscountMapper.selectBySaleId(saleId);
    }
}
